﻿using Volo.Abp.AutoMapper;
using Volo.Abp.Localization;
using Volo.Abp.Modularity;

namespace Colorful.Furniture.PermissionManagement;

/// <summary>
///  权限管理
/// </summary>
[DependsOn(typeof(AbpLocalizationModule))]
public class PermissionManagementModule : AbpModule
{
    /// <summary>
    /// 配置服务
    /// </summary>
    /// <param name="context"></param>
    public override void ConfigureServices(ServiceConfigurationContext context)
    {
        //权限管理的映射
        Configure<AbpAutoMapperOptions>(options =>
        {
            options.AddProfile<PermissionAutoMapperProfile>();
        });
    }
}